From d3f1312c98db6c5994e6aee8223913fa9f361af8 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Fri, 12 Nov 2010 10:43:20 -0800 Subject: [PATCH] docs: Copy GtkSizeGroup ownership discussion to GtkWindowGroup The two behave identically, so the text is the same with s/size/window/. --- docs/reference/gtk/tmpl/gtkwindowgroup.sgml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/reference/gtk/tmpl/gtkwindowgroup.sgml b/docs/reference/gtk/tmpl/gtkwindowgroup.sgml index 71bd142abd..93368142ec 100644 --- a/docs/reference/gtk/tmpl/gtkwindowgroup.sgml +++ b/docs/reference/gtk/tmpl/gtkwindowgroup.sgml @@ -6,7 +6,13 @@ Limit the effect of grabs - +#GtkWindowGroup objects are referenced by each window in the group, +so once you have added all windows to a #GtkWindowGroup, you can drop +the initial reference to the window group with g_object_unref(). If the +windows in the window group are subsequently destroyed, then they will +be removed from the window group and drop their references on the window +group; when all window have been removed, the window group will be +freed. -- 2.30.2